<?php
session_start();
$_SESSION['expire'] = time() + (60 * 30);
if (!isset($_SESSION['admin'])) header('location:login.php');